import request from "./http";

// 获取热门搜索
export function getPlotLists(){
    return request({
        url:"search",
        method:"get",
    })
}

//搜索关键词
export function getSearch(params){
    return request({
        url:`search/index/kw/${params.kw}/type/${params.type}/order/${params.order}/cateid/0/p/${params.p}`,
        // kw/科比/type/post/order/default/cateid/6/p/1
        method:"get"
    })
}